@import "../../app.scss";

.profile-page {
  width: 100%;
  height: 100vh;
  background: $background-color;
  padding: 24px 16px;
  box-sizing: border-box;
  overflow: hidden;
  position: fixed;
  left: 0;
  top: 0;

  .profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    margin-bottom: 32px;

    .avatar {
      width: 160px;
      height: 160px;
      border-radius: 80px;
      margin-bottom: 24px;
      border: 4px solid $primary-color;
    }

    .nickname {
      font-size: 36px;
      font-weight: 600;
      color: $text-color;
    }

    .nickname-edit {
      display: flex;
      align-items: center;
      gap: 10px;
    }

  }

  .menu-list {
    .menu-item {
      display: flex;
      justify-content: space-between;
      align-items: center;
      background: $card-background;
      padding: 32px 24px;
      margin-bottom: 16px;
      border-radius: 12px;
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
      border: 1px solid rgba(255, 255, 255, 0.08);

      .menu-text {
        font-size: 32px;
        color: $text-color;
      }

      .arrow {
        font-size: 32px;
        color: rgba(255, 255, 255, 0.6);
      }

      &.logout {
        margin-top: 40px;
        background: rgba(255, 59, 48, 0.1);
        border-color: rgba(255, 59, 48, 0.2);

        .menu-text {
          color: #ff3b30;
        }

        .arrow {
          color: #ff3b30;
        }
      }
    }
  }
}

.nickname-tips {
  font-size: 21px;
  color: #999;
}
